package singleton;

/**
 * @Author wonghiu
 * @Date 2021/8/15 17:38
 * @Version 1.0.1
 */
public final class SingleTonForLanhan {
    private SingleTonForLanhan(){}
    private static SingleTonForLanhan INSTANCE = null;
    public static synchronized SingleTonForLanhan getInstance(){
        if (INSTANCE==null){
            INSTANCE = new SingleTonForLanhan();
        }
        return INSTANCE;
    }
}
